package com.woniuxy.moneyapp.app;


import com.woniuxy.commons.util.WebUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = "com.woniuxy")//多模块项目需要手动指定路径，扫描所有模块
@MapperScan(basePackages = "com.woniuxy.moneyapp.infra")
@EnableFeignClients(basePackages = "com.woniuxy.*.client")//扫描所有的feign-client，注意项目的包路径需要符合要求
public class MoneyappApplication {

    public static void main(String[] args) {
        SpringApplication.run(MoneyappApplication.class, args);
    }

}
